free the tab array for custom tabs, reported by Paolo Maggi #72980
authorHavoc Pennington <hp@pobox.com>
Fri, 1 Mar 2002 04:39:00 +0000 (04:39 +0000)
committerHavoc Pennington <hp@src.gnome.org>
Fri, 1 Mar 2002 04:39:00 +0000 (04:39 +0000)
2002-02-28  Havoc Pennington  <hp@pobox.com>

* gtk/gtktextview.c (gtk_text_view_finalize): free the tab array
for custom tabs, reported by Paolo Maggi #72980

ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtktextview.c

index 76fc38690117006caeeef3a00597e8e1a92190f2..329c052ba41099196bf51e0f0d54b2ab93407d88 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2002-02-28  Havoc Pennington  <hp@pobox.com>
+
+       * gtk/gtktextview.c (gtk_text_view_finalize): free the tab array
+       for custom tabs, reported by Paolo Maggi #72980
+       
 Thu Feb 28 19:55:01 2002  Owen Taylor  <otaylor@redhat.com>
 
        * gdk/gdkkeys.c: include gdkkeysysms.h if
index 76fc38690117006caeeef3a00597e8e1a92190f2..329c052ba41099196bf51e0f0d54b2ab93407d88 100644 (file)
@@ -1,3 +1,8 @@
+2002-02-28  Havoc Pennington  <hp@pobox.com>
+
+       * gtk/gtktextview.c (gtk_text_view_finalize): free the tab array
+       for custom tabs, reported by Paolo Maggi #72980
+       
 Thu Feb 28 19:55:01 2002  Owen Taylor  <otaylor@redhat.com>
 
        * gdk/gdkkeys.c: include gdkkeysysms.h if
index 76fc38690117006caeeef3a00597e8e1a92190f2..329c052ba41099196bf51e0f0d54b2ab93407d88 100644 (file)
@@ -1,3 +1,8 @@
+2002-02-28  Havoc Pennington  <hp@pobox.com>
+
+       * gtk/gtktextview.c (gtk_text_view_finalize): free the tab array
+       for custom tabs, reported by Paolo Maggi #72980
+       
 Thu Feb 28 19:55:01 2002  Owen Taylor  <otaylor@redhat.com>
 
        * gdk/gdkkeys.c: include gdkkeysysms.h if
index 76fc38690117006caeeef3a00597e8e1a92190f2..329c052ba41099196bf51e0f0d54b2ab93407d88 100644 (file)
@@ -1,3 +1,8 @@
+2002-02-28  Havoc Pennington  <hp@pobox.com>
+
+       * gtk/gtktextview.c (gtk_text_view_finalize): free the tab array
+       for custom tabs, reported by Paolo Maggi #72980
+       
 Thu Feb 28 19:55:01 2002  Owen Taylor  <otaylor@redhat.com>
 
        * gdk/gdkkeys.c: include gdkkeysysms.h if
index 76fc38690117006caeeef3a00597e8e1a92190f2..329c052ba41099196bf51e0f0d54b2ab93407d88 100644 (file)
@@ -1,3 +1,8 @@
+2002-02-28  Havoc Pennington  <hp@pobox.com>
+
+       * gtk/gtktextview.c (gtk_text_view_finalize): free the tab array
+       for custom tabs, reported by Paolo Maggi #72980
+       
 Thu Feb 28 19:55:01 2002  Owen Taylor  <otaylor@redhat.com>
 
        * gdk/gdkkeys.c: include gdkkeysysms.h if
index 76fc38690117006caeeef3a00597e8e1a92190f2..329c052ba41099196bf51e0f0d54b2ab93407d88 100644 (file)
@@ -1,3 +1,8 @@
+2002-02-28  Havoc Pennington  <hp@pobox.com>
+
+       * gtk/gtktextview.c (gtk_text_view_finalize): free the tab array
+       for custom tabs, reported by Paolo Maggi #72980
+       
 Thu Feb 28 19:55:01 2002  Owen Taylor  <otaylor@redhat.com>
 
        * gdk/gdkkeys.c: include gdkkeysysms.h if
index 76fc38690117006caeeef3a00597e8e1a92190f2..329c052ba41099196bf51e0f0d54b2ab93407d88 100644 (file)
@@ -1,3 +1,8 @@
+2002-02-28  Havoc Pennington  <hp@pobox.com>
+
+       * gtk/gtktextview.c (gtk_text_view_finalize): free the tab array
+       for custom tabs, reported by Paolo Maggi #72980
+       
 Thu Feb 28 19:55:01 2002  Owen Taylor  <otaylor@redhat.com>
 
        * gdk/gdkkeys.c: include gdkkeysysms.h if
index fc50cd8471db7bc0b5eb9b6905e40dd04a2ffff1..a8f7f35d4a6a7e49a79922707f8e52f1c92c0c00 100644 (file)
@@ -2407,6 +2407,9 @@ gtk_text_view_finalize (GObject *object)
       free_pending_scroll (text_view->pending_scroll);
       text_view->pending_scroll = NULL;
     }
+
+  if (text_view->tabs)
+    pango_tab_array_free (text_view->tabs);
   
   if (text_view->hadjustment)
     g_object_unref (G_OBJECT (text_view->hadjustment));